using QiAdmin.Core;
using QiAdmin.Entity;
using QiAdmin.Model.Dtos.Input;
using QiAdmin.Model.Dtos.Output;
using QiAdmin.Model.System.Models;

namespace QiAdmin.Service.IService
{
    /// <summary>
    /// TSysUser Interface Service
    /// </summary>
    public interface ITSysUserService : IBaseService<TSysUser, TSysUser_IN, TSysUser_OUT>
    {
        CommonResult<dynamic> Login(TSysUser_IN input);
        CommonResult<dynamic> GetCaptcha();
        CommonResult<List<UserTreeMenu>> GetUserTreeMenus();
        CommonResult<List<UserButton>> GetUserBtns();
        CommonResult<string> RestUserPwd(TSysUser_IN input);
        CommonResult UpdatePwd(TSysUser_IN input);
        CommonResult<LoginUserInfo> GetLoginUserInfo();
        CommonResult<List<LoginLog>> GetLoginLogs();
    }
}